<ion-modal-view>
  <ion-header-bar>
    <h1 class="title" style="font-size: 20px;">用户登录</h1>

  </ion-header-bar>
  <ion-content>
    <form ng-submit="doLogin()">
      <div class="list">
        <label class="item item-input">
          <span class="input-label" >工号：</span>
          <input type="text" ng-class="{true: '', false: 'inactive1'}[loginData.namenull]" placeholder="请输入用户名"   ng-model="loginData.username" />
        </label>
        <label class="item item-input">
          <span class="input-label">密码：</span>
          <input type="password" ng-class="{true: '', false: 'inactive1'}[loginData.pwdnull]" placeholder="请输入密码"  ng-model="loginData.password">
          <!--<input type="password" required="required" placeholder="请输入密码" ng-model="loginData.password">-->
        </label>
        <label class="item">
          <button ng-disabled="!loginData.username||!loginData.password" class=" button button-block button-positive" type="submit">登入</button>
        </label>
      </div>
    </form>
  </ion-content>
</ion-modal-view>
